/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Champ.java
 *
 * Created on 30 juin 2011, 10:10:18
 */
package org.lestr.otaf.ihm;

import java.util.Map;

/**
 *
 * @author pibonnin
 */
public class Champ extends javax.swing.JPanel {


    public String nomVariable;
    public Map<String, Object> variables;
    
    
    /** Creates new form Champ */
    public Champ() {
        initComponents();
    }


    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        etiquette = new javax.swing.JLabel();
        champ = new javax.swing.JTextField();
        erreurs = new javax.swing.JPanel();

        etiquette.setText("jLabel1");

        champ.setMinimumSize(new java.awt.Dimension(150, 20));
        champ.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                champActionPerformed(evt);
            }
        });

        erreurs.setLayout(new javax.swing.BoxLayout(erreurs, javax.swing.BoxLayout.Y_AXIS));

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(erreurs, javax.swing.GroupLayout.DEFAULT_SIZE, 651, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(etiquette)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(champ, javax.swing.GroupLayout.DEFAULT_SIZE, 613, Short.MAX_VALUE))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(etiquette, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(champ, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(erreurs, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void champActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_champActionPerformed

    }//GEN-LAST:event_champActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JTextField champ;
    public javax.swing.JPanel erreurs;
    public javax.swing.JLabel etiquette;
    // End of variables declaration//GEN-END:variables
}

